#ifndef CUSTOMCONTROLPAGE_H
#define CUSTOMCONTROLPAGE_H

#include <QtCore/qglobal.h>

#if defined(CUSTOMCONCTROLPAGE_LIBRARY)
#define CUSTOMCONCTROLPAGE_EXPORT Q_DECL_EXPORT
#else
#define CUSTOMCONCTROLPAGE_EXPORT Q_DECL_IMPORT
#endif


#include "../CustomCtrl/CTimeAxis/CTimeAxis.h"

#include <QWidget>
#include <QVBoxLayout>
#include <QLabel>


QT_BEGIN_NAMESPACE
namespace Ui {
class Widget;
}
QT_END_NAMESPACE

class CUSTOMCONCTROLPAGE_EXPORT CustomControlPageWidget : public QWidget
{
    Q_OBJECT

public:
    CustomControlPageWidget(QWidget *parent = nullptr);
    ~CustomControlPageWidget();

public slots:
    void OnTimeChange(const QString & strCurTime);

private:
    void Init();

private:
    Ui::Widget *ui;
    CTimeAxis * m_pCTimeAxis;
    QLabel * m_pLabel;
};
#endif // CUSTOMCONTROLPAGE_H
